package com.roy.reversi.view;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;

public class ReversiFrame extends JFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane;
	
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				new ReversiFrame();
			}
		});
	}

	public ReversiFrame() {
		initialize();
	}

	private void initialize() {
		jContentPane = new ContainPanel();
		int width = jContentPane.getWidth() + 5;
		int height = jContentPane.getHeight() + 25;

		this.setContentPane(jContentPane);
		this.setSize(width, height );
		this.setResizable(false);
		this.setTitle("黑白棋");
		this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
		this.setVisible(true);
	}

}
